<template>
  <div class="rules">
    <gltitle
      :titleSize="titleSize"
      :is_mt="is_mt"
      v-if="!$store.state.isApp"
    ></gltitle>
    <div class="rules-con" :style="{paddingTop:$store.state.isApp?'.3rem':'1.48rem'}" v-html="desc"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      titleSize: this.$t("title.bargainrules"),
      is_mt: true,
      desc:''
    };
  },
  created() {
    this.$post(this.URL.member.article_detail, {
      categoryType: "BARGAIN_RULES",
    }).then((res) => {
      if (res.code == 0) {
        this.desc=res.data.description;
      }
    });
  },
};
</script>

<style lang="less" scoped>
.rules {
  min-height: 100vh;
  background: #f4f5f9;
  .rules-con{
      padding: 0 .3rem;
  }
}
</style>